import request from '@/utils/request'

export function Login(data) {
  return request({
    url: '/auth/member/login',
    method: 'POST',
    data: data
  })
}
export function Register(data) {
  return request({
    url: '/auth/member/register',
    method: 'POST',
    data: data
  })
}
export function getInfo(accessToken) {
  return request({
    url: '/auth/member/info',
    method: 'GET',
    params: {
      token: accessToken
    }
  })
}
